//
//  BridgingHeader.h
//  FarmShare
//
//  Created by aykj on 2017/12/25.
//  Copyright © 2017年 aykj. All rights reserved.
//

#ifndef BridgingHeader_h
#define BridgingHeader_h
#import <CommonCrypto/CommonDigest.h>
#import "YZPullDownMenu.h"
#import "YZSortViewController.h"
#import "YZMenuButton.h"
#import "PNChart.h"
#import "MJRefresh.h"
#import "ZJScrollPageView.h"


#import "UIViewController+BackItem.h"

#import "sqlite3.h"
#import <time.h>

#import "SVProgressHUD.h"
#import "SDAutoLayout.h"
#import "ChinaPlckerView.h"

//#import <UMCommon/UMCommon.h>
//#import <UMAnalytics/MobClick.h>        // 统计组件
//#import <UShareUI/UShareUI.h>

#import "HXProvincialCitiesCountiesPickerview.h"
#import "AFNetworking.h"
//#import "QiniuSDK.h"
//#import "HappyDNS.h"
#import "JHUploadImage.h" //图片选择
#import "CGXPickerView.h" //日期及其它选择器
#import "TZImagePickerController.h"
#import "XWLocationManager.h"
#import "XHInputView.h"

#import "HCPopup.h"
#import "UIView+CBBadge.h"
//majun
#import "NSString+arabicToChinese.h"
#import "TMVerticallyCenteredTextView.h"

//------三期新加------
#import "CYTabBar.h"
#import "TabBarController.h"
#import "JTCalendar.h"

//#import "ZWMLuckView.h"
#import "TagView.h"
#import "UIImageView+WebCache.h"
#import "SDPhotoBrowser.h"



//iphonx适配
// 判断是否是iPhone X
#define iPhoneX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO)
// 状态栏高度
#define STATUS_BAR_HEIGHT (iPhoneX ? 44.f : 20.f)
// 导航栏高度
#define NAVIGATION_BAR_HEIGHT (iPhoneX ? 88.f : 64.f)
// tabBar高度
#define TAB_BAR_HEIGHT (iPhoneX ? (49.f+34.f) : 49.f)
// home indicator
#define HOME_INDICATOR_HEIGHT (iPhoneX ? 34.f : 0.f)


#define theme_color  COLOR_WITH_HEX(0x36afff)


#define COLOR_WITH_HEX(hexValue) [UIColor colorWithRed:((float)((hexValue & 0xFF0000) >> 16)) / 255.0 green:((float)((hexValue & 0xFF00) >> 8)) / 255.0 blue:((float)(hexValue & 0xFF)) / 255.0 alpha:1.0f]

//十六进制转 color
#define UIColorFromHex(hex) [UIColor colorWithRed:((float)((hex & 0xFF0000) >> 16))/255.0 green:((float)((hex & 0xFF00) >> 8))/255.0 blue:((float)(hex & 0xFF))/255.0 alpha:1.0]

//默认图片




#endif /* BridgingHeader_h */
